/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package unilearn.dao;

import java.util.List;
import unilearn.vo.PersonRole;

/**
 *
 * @author Yat
 */
public interface PersonRoleDAO {

    public abstract List<PersonRole> getAll() throws Exception;

    public abstract PersonRole get(int id) throws Exception;

    public abstract List<PersonRole> find(PersonRole personRole) throws Exception;

    public abstract PersonRole insert(PersonRole personRole) throws Exception;

    public abstract PersonRole update(PersonRole personRole) throws Exception;

    public abstract void delete(PersonRole personRole) throws Exception;
}
